$(function () {
    $("#billhistory_datagrid").datagrid({
        fit: true,
        columns: [[
            {field: 'id', title: 'id', width: 100, hidden: true}, //hidden 隐藏显示该列
            {field: 'username', title: '保险单号', width: 100},//允许列改变大小
            {field: 'realname', title: '投保人', width: 100},
            {field: 'tel', title: '车牌号', width: 100},
            {field: 'tel', title: '申请日期', width: 100},
            {field: 'tel', title: '核保日期', width: 100},
            {field: 'tel', title: '起保日期', width: 100},
            {field: 'tel', title: '止保日期', width: 100},
            {field: 'tel', title: '保险时长', width: 100},
            {field: 'tel', title: '业务员', width: 100},
            {field: 'tel', title: '审核人', width: 100},
            {field: 'tel', title: '投保总金额', width: 100},
            {field: 'tel', title: '状态', width: 100}
        ]],
        rownumbers: true,
        striped: true,
        toolbar: "#billhistory_toolbar",
        pagination: true,
        fitColumns: true
    })
})











